// 状态
const statusList = [
  {
    id: 0,
    name: '禁用'
  },
  {
    id: 1,
    name: '启用'
  }
]

const getStatusName = (id) => {
    const result = statusList.find(item => item.id === id)
    return result ? result.name : ''
}

export {
  statusList,
  getStatusName
}
